package com.fastloan.mgt.product.question.model.vo;

import com.fastloan.mgt.product.label.model.Label;
import com.fastloan.mgt.product.question.model.ProductQuestionOption;
import com.kawins.supers.tree.annonation.TreeChild;
import com.kawins.supers.tree.annonation.TreeId;
import com.kawins.supers.tree.annonation.TreeParentId;

import java.util.ArrayList;
import java.util.List;

/**
 * @author chenkai
 * createTime 2017-12-2017/12/27 17:26
 */
public class ProductQuestionVO {

    /**
     * 父级id
     */
    @TreeId
    private String quId;

    private String opId;

    @TreeParentId
    private String parentId;

    private String question;

    private String optionName;

    private String labels;

    private String nextQuestionId;


    private List<Label> labelList = new ArrayList<>();

    private List<ProductQuestionOption> productQuestionOption = new ArrayList<>();

    @TreeChild
    private List<ProductQuestionVO> questionVOList = new ArrayList<>();

    public String getNextQuestionId() {
        return nextQuestionId;
    }

    public void setNextQuestionId(String nextQuestionId) {
        this.nextQuestionId = nextQuestionId;
    }

    public String getOptionName() {
        return optionName;
    }

    public void setOptionName(String optionName) {
        this.optionName = optionName;
    }

    public String getLabels() {
        return labels;
    }

    public void setLabels(String labels) {
        this.labels = labels;
    }

    public String getOpId() {
        return opId;
    }

    public void setOpId(String opId) {
        this.opId = opId;
    }

    public String getQuId() {
        return quId;
    }

    public void setQuId(String quId) {
        this.quId = quId;
    }

    public List<Label> getLabelList() {
        return labelList;
    }

    public void setLabelList(List<Label> labelList) {
        this.labelList = labelList;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<ProductQuestionOption> getProductQuestionOption() {
        return productQuestionOption;
    }

    public void setProductQuestionOption(List<ProductQuestionOption> productQuestionOption) {
        this.productQuestionOption = productQuestionOption;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public List<ProductQuestionVO> getQuestionVOList() {
        return questionVOList;
    }

    public void setQuestionVOList(List<ProductQuestionVO> questionVOList) {
        this.questionVOList = questionVOList;
    }
}
